//
//  WGUserDefaultTool.h
//  WisdomGardon
//
//  Created by 郭壮 on 16/8/24.
//  Copyright © 2016年 Red Persimmon. All rights reserved.
//

#import <Foundation/Foundation.h>

//登录拉取数据
static NSString * const kUserId = @"uid";
static NSString * const kToken = @"token";
static NSString * const kHeadImage = @"headImage";
static NSString * const kName = @"name";
static NSString * const kTitle = @"title";
static NSString * const kCompany = @"company";
static NSString * const kSex = @"sex";
static NSString * const kTel = @"tel";

@interface WGUserDefaultTool : NSObject

+(void)init;

+(void)saveUserDetault:(id)object key:(NSString *)key;

+(id)getUserDetault:(NSString *)key;

+(NSDictionary *)getUserDetaultDictionary:(NSString *)key;

+(NSMutableArray *)getUserDetaultArray:(NSString *)key;

+(NSDate *)getUserDetaultDate:(NSString *)key;

@end
